Lab Practice Quiz 10 Write a C function equivlaent to the following assembly language function. .file "plabquiz10.c" .text .globl quiz10 .type quiz10, @function quiz10: pushl %ebp movl %esp, %ebp subl $16, %esp movl $1, 8(%ebp) jmp .L2 .L3: movl 8(%ebp), %eax addl %eax, 4(%ebp) addl $1, 8(%ebp) .L2: movl 8(%ebp), %eax cmpl 8(%ebp), %eax jle .L3 movl 4(%ebp), %eax leave ret .size quiz10, . quiz10 .ident "GCC: (GNU) 4.4.5 20101112 (Red Hat 4.4.5 2)" .section .note.GNU stack,"",@progbits ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________